package com.goods.business.service;

import com.goods.common.vo.business.ConsumerVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;
import java.util.Map;

/**
 * @author liangliang
 * @Date 2021/11/10 17:30 Administrator
 * @Description
 * 加载物资去处
 */
public interface ConsumerService {
    //查询物资去处
    PageVO<ConsumerVO> findConsumerList(Map map);

    //添加物资去处
    void add(ConsumerVO consumerVO);
    //根据ID查询物资出去用作数据回显
    ConsumerVO edit(Long id);

    //修改数据
    void update(Long id, ConsumerVO consumerVO);
    //根据id删除物资去处
    void delete(Long id);
    //物资去向
    List<ConsumerVO> findAll();

}
